package com.demo.bean;

import java.util.Date;

public class User {
  private String userId;
  private String avatar;
  private String userName;
  private String password;
  private Date createTime;
  private Date updateTime;
  private String isAdmin;
  private String status;
  private String silence;

  // Getters and Setters
  public String getUserId() { return userId; }
  public void setUserId(String userId) { this.userId = userId; }
  public String getAvatar() { return avatar; }
  public void setAvatar(String avatar) { this.avatar = avatar; }
  public String getUserName() { return userName; }
  public void setUserName(String userName) { this.userName = userName; }
  public String getPassword() { return password; }
  public void setPassword(String password) { this.password = password; }
  public Date getCreateTime() { return createTime; }
  public void setCreateTime(Date createTime) { this.createTime = createTime; }
  public Date getUpdateTime() { return updateTime; }
  public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
  public String getIsAdmin() { return isAdmin; }
  public void setIsAdmin(String isAdmin) { this.isAdmin = isAdmin; }
  public String getStatus() { return status; }
  public void setStatus(String status) { this.status = status; }
  public String getSilence() { return silence; }
  public void setSilence(String silence) { this.silence = silence; }

  @Override
  public String toString() {
    return "User{" +
        "userId='" + userId + '\'' +
        ", userName='" + userName + '\'' +
        ", avatar='" + avatar + '\'' +
        ", password='" + password + '\'' +
        ", createTime='" + createTime + "\'" +
        ", updateTime='" + updateTime + "\'" +
        ", isAdmin='" + isAdmin + "\'" +
        ", status='" + status + "\'" +
        ", silence='" + silence + "\'" +
        '}';
  }
}
